OleObject Object

The OleObject Object represents an OLE object in a report. This object provides properties for getting information for OLE objects in a report.

OleObject Object Properties

Property Description Read/ Write Restriction in event handler

BackColor

OLE_COLOR. Gets or sets the object background color.

Read/Write

Can be written only when formatting idle or active.

BorderColor

OLE_COLOR. Gets or sets the object border color.

Read/Write

Can be written only when formatting idle or active.

Bottom
Cropping

Long. Gets or sets the bottom cropping size, in twips.

Read/Write

Can be written only when formatting idle.

BottomLine
Style

CRLineStyle. Gets or sets the bottom line style.

Read/Write

Can be written only when formatting idle or active.

CloseAtPage
Break

Boolean. Gets or sets the close border on page break option.

Read/Write

Can be written only when formatting idle or active.

Formatted

Picture

IPictureDisp. Gets or sets the specified picture during formatting.

Read/Write

Can be read or written only when top-level Report object is formatting active.

HasDrop
Shadow

Boolean. Gets or sets the border drop shadow option.

Read/Write

Can be written only when formatting idle or active.

Height

Long. Gets or sets the object height, in twips.

Read/Write

Can be written only when formatting idle or active.

KeepTogether

Boolean. Gets or sets the keep object together option.

Read/Write

Can be written only when formatting idle or active.

Kind

CRObjectKind. Gets which kind of object (for example, box, cross-tab, field, etc.).

Read only

None

Left

Long. Gets or sets the object upper left position, in twips.

Read/Write

Can be written only when formatting idle or active.

LeftCropping

Long. Gets or sets the left cropping size, in twips.

Read/Write

Can be written only when formatting idle.

LeftLineStyle

CRLineStyle. Gets or sets the left line style.

Read/Write

Can be written only when formatting idle or active.

Name

String. Gets or sets the object name.

Read/Write

Can be written only when formatting idle.

Parent

Section Object. Gets reference to the parent object.

Read only

None

RightCropping

Long. Gets or sets the right cropping size, in twips.

Read/Write

Can be written only when formatting idle.

RightLineStyle

CRLineStyle. Gets or sets the right line style.

Read/Write

Can be written only when formatting idle or active.

Suppress

Boolean. Gets or sets the object visibility.

Read/Write

Can be written only when formatting idle or active.

Top

Long. Gets or sets the object upper top position, in twips.

Read/Write

Can be written only when formatting idle or active.

TopCropping

Long. Gets or sets the top cropping size, in twips.

Read/Write

Can be written only when formatting idle.

TopLineStyle

CRLineStyle. Gets or sets the top line style.

Read/Write

Can be written only when formatting idle or active.

Width

Long. Gets or sets the object width, in twips.

Read/Write

Can be written only when formatting idle or active.

XScaling


Double. Gets or sets the width scaling factor. For example, 1 means 100%, 2 means 200%, 0.5 means 50% etc. The scaling factor may range from 0.01 to 100.

Read/Write

Can be written only when formatting idle.

YScaling

Double. Gets or sets height scaling factor. For example, 1 means 100%, 2 means 200%, 0.5 means 50% etc. The scaling factor may range from 0.01 to 100.

Read/Write

Can be written only when formatting idle.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com